package cn.cxg.ymcc.service;

import cn.cxg.ymcc.domain.Course;
import cn.cxg.ymcc.dto.CourseSaveDto;
import cn.cxg.ymcc.vo.CourseDetailVo;
import cn.cxg.ymcc.vo.CourseInfoResultVo;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whale
 * @since 2025-08-10
 */
public interface ICourseService extends IService<Course> {

    void save(CourseSaveDto courseSaveDto);

    void onLineCourse(List<Long> courseIds);

    CourseDetailVo detail(Long courseId);

    CourseInfoResultVo courseInfo(String courseId);
}
